# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CreateTranscodeTemplateRequestObject(object):

    def __init__(self, name, video, audio, encapsulation, definition, outFile=None, templateType=None):
        """
        :param name:  模板名称。长度不超过128个字符。UTF-8编码。

        :param video:  视频参数配置
        :param audio:  音频参数配置
        :param encapsulation:  封装配置
        :param outFile: (Optional) 输出文件配置
        :param definition:  清晰度规格标记。取值范围：
  SD - 标清
  HD - 高清
  FHD - 超清
  2K
  4K

        :param templateType: (Optional) 模板类型。取值范围：
  jdchd - 京享超清
  jdchs - 极速转码

        """

        self.name = name
        self.video = video
        self.audio = audio
        self.encapsulation = encapsulation
        self.outFile = outFile
        self.definition = definition
        self.templateType = templateType
